package com.wh.wisdomsite.xbox.zywl.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import java.io.Serializable;
import java.util.Date;


/**
 * 票务信息Entity
 * @author 谢泽鹏
 * @version V1.0
 * @Package com.wh.wisdomsite.xbox.zywl.entity
 * @date 2018年09月05日 15:53
 * @Copyright 企业版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2018
 */
@TableName("zywl_userTicket")
public class ZywlUserTicket implements Serializable {


    /**
     * 自定义标识
     */
    @TableId(type = IdType.UUID)
    private String id;

    /**
     * 用户标识
     */
    @TableField("uid")
    private String uid;

    /**
     * 票务编号
     */
    @TableField("userTicketId")
    private String userTicketId;

    /**
     * 票务名称
     */
    @TableField("ticketName")
    private String  ticketName;

    /**
     * 使用范围
     */
    @TableField("deviceGropCode")
    private String deviceGropCode;

    /**
     * 票务类型
     */
    @TableField("userTicketType")
    private Integer userTicketType;

    /**
     * 票务状态(1: 未使用  2:已使用)
     */
    @TableField("ticketState")
    private Integer ticketState;

    /**
     * 身份证
     */
    @TableField("idcardId")
    private String idcardId;

    /**
     * 姓名
     */
    @TableField("idcardName")
    private String idcardName;

    /**
     * 票务使用规则
     * -1:无限制
     * 1:可使用一次
     * 2:可使用两次
     * 依次类推
     */
    @TableField("rule")
    private Integer rule;

    /**
     * 票使用时间限制
     * 开始时间(yyyy-MM-dd)
     */
    @TableField("beginTime")
    private Date beginTime;

    /**
     * 票使用时间限制
     * 截止时间(yyyy-MM-dd)
     */
    @TableField("endTime")
    private Date endTime;

    /**
     * 使用时间
     */
    @TableField("useTime")
    private Date useTime;

    /**
     * 使用者
     */
    @TableField("usePer")
    private String usePer;

    /**
     * 创建时间
     */
    @TableField("creatDate")
    private Date creatDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getUserTicketId() {
        return userTicketId;
    }

    public void setUserTicketId(String userTicketId) {
        this.userTicketId = userTicketId;
    }

    public String getTicketName() {
        return ticketName;
    }

    public void setTicketName(String ticketName) {
        this.ticketName = ticketName;
    }

    public String getDeviceGropCode() {
        return deviceGropCode;
    }

    public void setDeviceGropCode(String deviceGropCode) {
        this.deviceGropCode = deviceGropCode;
    }

    public Integer getUserTicketType() {
        return userTicketType;
    }

    public void setUserTicketType(Integer userTicketType) {
        this.userTicketType = userTicketType;
    }

    public Integer getTicketState() {
        return ticketState;
    }

    public void setTicketState(Integer ticketState) {
        this.ticketState = ticketState;
    }

    public String getIdcardId() {
        return idcardId;
    }

    public void setIdcardId(String idcardId) {
        this.idcardId = idcardId;
    }

    public String getIdcardName() {
        return idcardName;
    }

    public void setIdcardName(String idcardName) {
        this.idcardName = idcardName;
    }

    public Integer getRule() {
        return rule;
    }

    public void setRule(Integer rule) {
        this.rule = rule;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }

    public String getUsePer() {
        return usePer;
    }

    public void setUsePer(String usePer) {
        this.usePer = usePer;
    }

    public Date getCreatDate() {
        return creatDate;
    }

    public void setCreatDate(Date creatDate) {
        this.creatDate = creatDate;
    }
}
